package com.syh.jn.scm.domain.upstream.event.system;

import com.syh.core.ddd.domain.DomainEvent;
import com.syh.jn.scm.domain.supplier.entity.sale.SaleOrder;
import com.syh.jn.scm.domain.upstream.entity.system.UpAccount;

public class UpAccountEvent extends DomainEvent<UpAccount> {

	public static final String UP_ACCOUNT_PHONE_UNTYED = "upAccountPhoneUntyed";
	public static UpAccountEvent buildUpAccountPhoneUntyed(Object[] values){
		UpAccountEvent event = new UpAccountEvent();
		event.eventName = UP_ACCOUNT_PHONE_UNTYED;
		event.values = values;
		return event;
	}

	public static final String UP_ACCOUNT_DISABLED = "upAccountDisabled";
	public static UpAccountEvent buildUpAccountDisabled(Object[] values){
		UpAccountEvent event = new UpAccountEvent();
		event.eventName = UP_ACCOUNT_DISABLED;
		event.values = values;
		return event;
	}

	public static final String UP_ACCOUNT_DELETED = "upAccountDeleted";
	public static UpAccountEvent buildUpAccountDeleted(Object[] values){
		UpAccountEvent event = new UpAccountEvent();
		event.eventName = UP_ACCOUNT_DELETED;
		event.values = values;
		return event;
	}

}
